package com.woniuxy03;

import java.util.Scanner;

/**
 * @author 作者
 * @create 2025-05-23 15:14
 */
public class Test10 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String answer ;
        for(answer="xxx";!answer.equals("q");answer = sc.next()){
            System.out.println("输入q推出");
        }
        System.out.println("程序结束");
    }
}
